Method: Vips::Image#<<

Defined in:
lib/vips8/image.rb

#<<(other) ⇒ Image

Integer left shift with an image, constant or array.

Parameters:

  • other (Image, Real, Array<Real>)

    shift left by this much

Returns:

  • (Image)

    result of left shift

[View source]

781
782
783
784
# File 'lib/vips8/image.rb', line 781

def <<(other)
    other.is_a?(Vips::Image) ? 
        boolean(other, :lshift) : boolean_const(other, :lshift)
end